package com.langyiquan.service;

import com.langyiquan.bo.UserBO;
import com.langyiquan.bo.UserInfoBO;
import com.langyiquan.pojo.Users;

public interface UserService {

    public Users queryUserForLogin(String username, String password);

    public Users queryUserInfo(String userId);

    public boolean queryUsernameIsExist(String username);

    public Users createUser(UserBO userBO);

    public Users updateUserInfo(String userId, UserInfoBO userInfoBO);

    public Users updateUserFace(String userId, String faceUrl);

    public Users createWechatUser(Users users);

    public Users updateWechatUserByOpenId(String userId,Users users);

    public Users getUserByOpenId(String openId);

}
